Coding method for digital to analog converter of a SAR analog to digital converter

ABSTRACT

A method for coding a digital to analog converter of a successive approximation register analog to digital converter includes the steps of first switching capacitors associated with a bit from ground to a reference voltage. Next, a determination is made of whether a logical value of the bit is a first or a second value. If the logical value is the first value, capacitors associated with a next bit are switched from ground to a reference voltage. If the logical value is the second value, one half of the capacitors associated with the bit currently connected are switched from the reference voltage to ground.

TECHNICAL FIELD OF THE INVENTION

The present invention relates to digital to analog converters, and more particularly, to successive approximation registers.

BACKGROUND OF THE INVENTION

A successive approximation register (SAR) comprises an analog to digital conversion method in which the input voltage is compared with the output voltage of a sequentially programmed digital to analog converter. First, the most significant bit (MSB) of the digital to analog converter is turned on and compared with an analog input voltage. If the input voltage is greater than the digital to analog output, the MSB is left at logic high. Otherwise, the MSB is turned to logic low. This process is repeated for all other bits in decreasing order until the least significant bit (LSB) is reached.

A very popular digital to analog converter architecture used in CMOS technology is the charge scaling DAC. A 10-bit split array binary weighted (binary coded) DAC includes capacitors on both sides of a bridge capacitor that are binary weighted. A capacitance value C is the unit capacitor of any value. This DAC architecture is widely used in charge distribution ADCs. The capacitor array itself is the critical component of the ADC because of the need for precisely/accurately ratioed capacitors. The linearity of the ADC depends on the matching between the ratios of the capacitors associated with the bits of the array. As the number of bits increases, the ratio of the MSB capacitor to the LSB capacitor becomes more difficult to control. The ratio mismatches between the capacitors are greatly reduced by building each capacitor out of the unit capacitor C and by using special layout techniques. Yet there is a great need to further improve the matching of the capacitor ratios, especially with an increase in the number of bits. For ADCs with higher bits (equal to or higher than 10 bits), capacitor calibration techniques are used to achieve better matching between the capacitors. However, this technique would require additional calibration circuits.

Additionally, the comparators used within some types of SAR ADC circuits have large transients applied to their inputs using existing coding techniques. As long as these transients settle down within the time allowed for the comparison by the comparator, this is not a problem. However, for ADCs with higher resolution and speed, the larger transients may place a limitation on the settling times of the input mode of the comparator. Thus, there's a need to improve the operation of SAR analog to digital converters within a digital to analog converter with smaller transients for higher resolution comparators and some method for improving the matching between capacitors without requiring additional calibration circuits.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present invention and the advantages thereof, reference is now made to the following description taken in conjunction with the accompanying Drawings in which:

FIG. 1 is a functional block diagram of a successive approximation A/D converter;

FIG. 2 illustrates a 10 bit split array binary weighted digital to analog converter used within a SAR A/D converter;

FIG. 3 is a flow diagram illustrating the operation of the digital to analog converter of FIG. 2 using a prior art control method;

FIG. 4 illustrates the unit capacitors and control switches necessary to operate the first two bits of the digital to analog controller of FIG. 2 according to the control method of the present disclosure;

FIG. 5 a is a flow diagram illustrating the operation of an SAR ADC on the MSB side using a thermometer coding technique;

FIG. 5 b is a simplified flow chart of the process of FIG. 5 a;

FIG. 6 illustrates a 10 bit split array digital to analog converter wherein a first three most significant bits are thermometer coded and the remaining bits are binary coded; and

FIG. 7 is a flow chart illustrating the SAR bit decision making process of the three MSBs utilizing fully thermometer coding technique of FIG. 6.

SUMMARY OF THE INVENTION

The present invention disclosed and claimed herein, in one aspect thereof, comprises a method for coding a successive approximation register. The process includes the steps of switching capacitors associated with a bit from ground to a reference voltage. Next, a determination is made whether a logical value of the bit is a first value or a second value. If the logical value of the bit is the first value, capacitors associated with the next bit are switched from ground to the reference voltage. If the logical value of the bit is the second value, one-half of the capacitors associated with the bit currently connected to the reference voltage are switched to ground.

DETAILED DESCRIPTION OF THE INVENTION

Referring now to the drawings, and more particularly to FIG. 1, wherein there is illustrated a functional block diagram of a successive approximation A/D converter. Successive approximation A/D conversion is a technique that is commonly used in medium to high speed data acquisition applications. The successive approximation A/D conversion is one of the fastest A/D conversion techniques that requires a minimum amount of circuitry.

The successive approximation A/D converter can approximate the analog to digital signal to form an n bit digital code in n steps. The successive approximation register 102 individually compares an analog input voltage to the mid point of one of n ranges to determine the value of one bit. This process is repeated a total n times, using n ranges, to determine the n bits of the code. The comparison is accomplished as follows. The SAR 102 determines if the analog input is above or below the midpoint and sets the bit of the digital code accordingly. The SAR 102 assigns the bits beginning with the most significant bit. The bit is set to “1” if the analog input is greater than the midpoint voltage, or it is set at “0” if it is less than the midpoint voltage. The SAR 102 then moves to the next bit and sets it as a “1” or a “0” based on the results of comparing the analog input with a midpoint of the next allowed range. Because the SAR must perform one approximation for each bit in the digital code, an n bit code requires n approximations.

The success of approximation A/D converter as illustrated in FIG. 1 consists of four functional blocks. The SAR 102, the analog comparator 104, a D/A converter 106, and a clock 108. Location to the n bit approximation is controlled by the control shift register 110. The output latch 112 latches in the bits of the digital output code as they are determined by the SAR 102. Analog comparator 104 performs the comparisons of an analog input voltage with the midpoint of the selected one of n ranges presently being examined.

Referring now to FIG. 2, there is illustrated a 10 bit split array binary weighted digital to analog converter (DAC). The 10 bit split array binary weighted DAC 202 consists of a group of capacitors 204 connected in parallel wherein a first plate of each capacitor is interconnected at a common node 206, and a second group of capacitors 208 connected in parallel wherein a first plate of each of these capacitors 208 is connected to a second common node 210. The first node 206 and the second node 210 are interconnected via a bridge capacitor 212. The capacitors 204 and 208 are binary weighted capacitors that progressively double in their capacitance from bit 0-bit 4 and from bit 5-bit 9. Thus, the capacitance of bit 0 is C, the capacitance of bit 1 is 2C, the capacitive of bit 2 is 4C and so on until the capacitance of the bit 4 is equal to 16C. There is a similar progression in the capacitance from bit 5 to bit 9. The opposite plates of capacitors 204 or 208 which are not connected with common nodes 206 and 210, respectively, are selectively connected to either of an input voltage V_(in) through switch 214, a reference voltage V_(ref) through switch 216 or ground through a switch 218. The capacitors connected to common node 206 comprise the most significant bits (MSBs) of the DAC 210, and the capacitors connected to the node 210 comprise the least significant bits (LSBs). A dummy capacitor 220 connects between node 210 and ground.

Node 206 is connected to a negative input of comparator 222. The positive input of capacitor 222 is connected to ground or some dc common-mode voltage. A change of logical state of the output of comparator 222 indicates that the bit being tested should be logical “1”. If the output of the comparator remains constrained the bit being listed is logical “0.” The comparator 222 operates in the following manner. After the sampling is done, all but the MSB capacitors are switched to ground, the MSB capacitor 204 is switched to the reference voltage V_(ref), and the input node of the comparator 222 V_(inn) settles to the following voltage: V_(inn)=−V_(i)+0.5*V_(ref), where V_(i) is the analog input voltage (signal). If the input voltage V_(i) is bigger than the half of the reference voltage V_(ref), then the comparator's output state flips and the decision is made to keep the MSB to the logic high (logic “1”) state and its capacitor remains connected to the reference voltage. The next (MSB-1 bit) bit, bit-8, is then tested by switching its caps from ground to the reference voltage. However, if the comparator's 222 output state does not flip at the end of the MSB test, the MSB is set to logic “0”, and the MSB-1 bit (bit-8) test proceeds by switching all of the MSB caps from reference to ground, and by switching all MSB-1 caps (8C) from ground to reference voltage.

Referring now to FIG. 3, there is illustrated a flow diagram describing the process for selecting the bits within the SAR DAC for a binary coded DAC. The process is initiated at step 302 and inquiry step 304 determines whether the SAR is within a sampling mode. Inquiry step 304 continues to monitor while the SAR is determined to be within the sampling mode. When the SAR switches to the conversion mode, the most significant bit capacitor is switched to the reference voltage V_(ref) at step 306 while the remaining capacitors for the other bits are switched to ground. Inquiry step 308 determines if the most significant bit (MSB) should be set equal to logical “1” or logical “0” depending upon the output of the comparator 222. If the MSB bit is set to logical “0”, the capacitors for the next bit are switched to the reference voltage V_(ref), and the capacitors of the previously tested bit are switched to ground at step 310. The capacitors of the remaining bits remain connected to ground. If the MSB bit is set to logical “1”, the capacitors of the next bit are switched to the reference voltage V_(ref) while the capacitors of the previous bit remain at the reference voltage at step 312. The capacitors of the remaining bits remain connected to ground.

Once the capacitors of the next bit are switched to the reference voltage at either step 312 or step 310, inquiry step 314 determines whether the newly tested bit should be set to a logical “1” or a logical “0” based upon the output of the comparator 222. If the bit is set to logical “0”, control passes to inquiry step 316, which determines whether there are further bits to be tested. If so, control passes back to step 310. Otherwise, the process is completed at step 320. If the tested bit is determined to be set to logical “1” at inquiry step 314, inquiry step 318 determines if there are further bits to be tested, and if so, control passes back to step 312. If no other bits are available for testing, the process is completed at step 320.

When a decision is made to switch a bit being tested back from V_(ref) to ground, a completely new set of unit capacitors must then be tested. There will inevitably be some mismatch between these capacitors. If a bit being tested is set to logical “0”, the capacitor being tested is switched back to ground from V_(ref), and the next capacitor to be tested is switched to the reference voltage from ground. These two events occurring at the same time will cause a large transient at the input node of the comparator 222. As long as this transient settles down within the time allowed for making the decision of whether or not to maintain a test bit at a logical high level, there is no problem. However, for ADCs with higher resolution and speed, this may place a limitation on the settling time of the input node of the comparator 222.

One manner for combating this problem is more fully illustrated with respect to FIG. 4. One way for overcoming this issue is enabled by using multiple unit capacitors C for each capacitor having a value of multiple unit capacitors C. Thus, rather than having a single capacitor for each of the five most significant bits and each of the five least significant bits within the 10 bit split array binary weighted DAC 202, multiple capacitors are used as illustrated in FIG. 4. Thus, rather than the MSB (bit 9) including a single capacitor 204 having a value of 16C, the MSB would comprise 16 separate capacitors 402 each having a value of C. Each of these capacitors 402 would be connected to a separate switch array 404 including three switches alternately connecting the capacitor 402 to the input voltage V_(in), the reference voltage V_(ref) and ground.

Likewise, the next bit, bit 8, rather than including a single capacitor having a value of 8C would include eight separate capacitors 406. Each of these eight capacitors have a value C, and each of these capacitors are connected to a switching array 404 connecting the capacitor to either the input voltage V_(in), the reference voltage V_(ref) or ground. Likewise, bit-7 of the SAR DAC would include four separate capacitors having a value of C wherein each of the capacitors are connected to a switch array 404. Bit-6 would include two capacitors each having a value of C and each capacitor connected to a switch array 404, and bit-5 would include a single capacitor 204 having a value of C and connected to a switch array 404. The 5-bits (bit-4 thru bit-0) making up the least significant bits would be similarly configured to the MSB bits.

By configuring the capacitors in this fashion, the coding of the SAR DAC 202 may be altered such that testing does not necessarily move to a next most significant bit capacitor when a previous bit's capacitors has been determined to be at a logic low (logic “0”) value. In this situation, the capacitors associated with a next bit will remain switched to ground, and half of the unit capacitors of the previously tested bit that are connected to the reference voltage are switched to ground. The remaining half of the capacitors associated with the previously tested bit stay connected to the reference voltage V_(ref). The weight of the capacitor of the presently tested bit is one-half of the weight of the capacitor of the previously tested bit. Thus, the total transient perturbation on the input node of the comparator 222 will be greatly reduced since only a single group of switches are switched, and capacitor matching will be better because half of the capacitors within the previously tested capacitor will be used to decide the state of the next bit. In this case, the voltage at the input node of the comparator will settle to V_(inn)=−V_(i)+0.25×V_(ref) assuming the previous bit is to be maintained at logic “0”.

Referring now to FIG. 5 a, there is illustrated a diagram showing the bit decision making process for the MSB side of a fully thermometer coded 10-bit SAR ADC. This figure illustrates the operation for determining the logical values for bit-9 through bit-5 (the MSB bits). The determination of the logical values for bit-4 through bit-0 will occur in the exact same manner for the least significant bits. Initially, at node 502, a determination is made if the ADC is in a sampling mode or a conversion mode. If the determination is made that the ADC is in the sampling mode, the process continues to monitor until the device enters the conversion mode. When step 502 determines the conversion mode has been entered, control passes to step 504, wherein a test is performed on the MSB bit. To perform the test on the MSB bit, the capacitors for the MSB bit are switched to the reference voltage V_(ref). The capacitors of the remaining bits are switched to ground.

Depending on whether the output state of the comparator changes, a determination is made at node 506 to set the MSB bit to logical “0” or logic “1”. If the MSB bit is to be set to logic “0”, control passes to step 508 for performance of the test on the MSB-1 bit. The test is performed by switching one half of the capacitors of the MSB bit from V_(ref) to ground. The remaining capacitors of the MSB bit remain connected to the reference voltage V_(ref). The output of the comparator is monitored to determine whether the MSB-1 bit is to be set to logic “0” or logic “1” at inquiry step 512. If the MSB bit is set to logic “1”, the MSB-1 test is performed at step 510. In this process the capacitors for the MSB-1 bit are all switched from ground to the reference voltage V_(ref). The capacitors for the MSB bit remain connected to the reference voltage V_(ref) since the MSB bit has been set to logic “1”. The output of the comparator is monitored at node 514 to determine whether the MSB-1 bit should be set to logic “1” or logic “0”.

Referring now to Step 516, there is described the process for performing a test on the MSB-2 bit, when both the MSB bit and the MSB-1 bit are set to logic “0”. If this occurs, the test on the MSB-2 bit is performed by maintaining one-fourth of the capacitors of the MSB bit at the voltage reference V_(ref). Since in this case, one-half of the capacitors of the MSB bit were already connected to V_(ref) for the previous test on the MSB-1 bit only one-half of the remaining connected capacitors must be switched from V_(ref) to ground. The output of the comparator is monitored at node 518 to determine whether the MSB-2 bit should be set to logic “0” or logic “1”. If the MSB-1 bit was set equal to logic “1”, control passes to step 520. At step 520, the MSB-2 test is performed by switching all of the MSB-2 capacitors from ground to the reference voltage V_(ref). The output of the comparator is monitored at inquiry node 522 to determine whether the MSB-2 bit is to be set to logic “1” or logic “0”. If the MSB-1 bit was set to logic “0” after the MSB has been set to logic “1”, control passes to step 524. The MSB-2 test is performed at this step by switching half of the capacitors of the MSB-1 bit from the reference voltage V_(ref) to ground. The remaining half of the MSB-1 capacitors are still connected to the reference voltage V_(ref). The output of the comparator is monitored at node 526 to determine if the MSB-2 node should be set to logic “0” or to logic “1”.

The decisions made at inquiry nodes 518, 522 and 526 set the stage for determining the value of the MSB-3 bit. If the MSB-2 bit has been set to logic “0” at node 518, the MSB-3 test is performed at step 528. At step 528, the MSB-3 test is performed by keeping one-eighth of the MSB capacitors connected to the reference voltage V_(ref). Since the previous test was performed by connecting only one quarter of the MSB capacitors to V_(ref), the test for the MSB-3 test is performed by maintaining one-eighth of the MSB capacitors at V_(ref) and switching the other one-eighth of the capacitors to ground. Inquiry node 530 is monitored to determine whether to set the MSB-3 bit at logic “0” or logic “1” based upon the output of the comparator. If the MSB-2 bit is set to logic “1” at any of inquiry nodes 518, 522 or 526, the MSB-3 test is performed at step 532. In this test, all of the capacitors for the MSB-3 bit are switched from ground to V_(ref). The output of the comparator is monitored at inquiry step 534 to determine whether the MSB-3 bit is to be set to logic “1” or logic “0”. If the MSB-2 bit is set to logic-0 at inquiry node 522, the MSB-3 test is performed at step 536. In this test, one-half of the MSB-2 capacitors are switched to ground and the remaining half of the MSB-2 capacitors stay connected to the reference voltage V_(ref). The output of the comparator is monitored at inquiry node 538 to determine whether to set the MSB-3 bit at logical “0” or logical “1”. If the MSB-2 bit were set to logical “0” at node 526, the MSB-3 test is performed at step 540. In this test, three-quarters of the capacitors of the MSB-1 bit are connected to ground and the remaining quarter of the MSB-1 bits connected to the reference voltage V_(ref). Since previously at the MSB-2 test, one-half of the MSB-1 capacitors were connected to ground, this process involves switching only one-quarter of the total MSB-1 capacitors to ground from the reference voltage. Inquiry node 542 monitors the output of the comparator to determine whether the MSB-3 bit is to be set to logical “0” or logical “1”.

Based upon the decisions made at inquiry nodes 530, 534, 538 and 542, a test will be performed to determine the logic value of the MSB-4 test. If the MSB-3 bit has been set to logic “1” at any of inquiry steps 530, 534, 538 or 542, the MSB-4 test is performed at step 544. In this step, the capacitors for the MSB-4 bit are all switched from ground to the reference voltage V_(ref). If inquiry step 530 determines that the MSB-3 bit is set to logical “0”, the MSB-4 test is performed at step 546. At step 546, one-sixteenth of the capacitors of the MSB bit remain connected to the reference voltage V_(ref). The remaining fifteen-sixteenths of the capacitors of the MSB bit are connected to ground. If inquiry step 534 determines that the MSB-3 bit is equal to logical “0”, the MSB-4 test is performed at step 548. In this test, one-half of the capacitors of the MSB-3 bit are connected to ground and the remaining half of the MSB-3 bits connected to the reference voltage V_(ref). If inquiry step 538 determines that the MSB-3 bit is equal to logical “0”, the MSB-4 test is performed at step 550. In this test, three-quarters of the MSB-2 capacitors are connected to ground and one-quarter of the MSB-2 capacitors are connected to the reference voltage V_(ref). Finally, if inquiry step 342 determines that the MSB-3 bit is equal to logical “0”, the MSB-4 test is performed at step 552. After each of the MSB-4-tests are performed at any of the steps 546, 544, 548, 550 or 552, the output of the comparator is examined to determine whether to set the MSB-4 bit to a logical “1” or logical “0” level.

Once all of the bits have been established on the MSB side of the bridge capacitor 212, the process is repeated on the other side of the bridge capacitor 212 for each of the LSBs. The process on the LSB side starts with the bit that has the highest weight of capacitors (16C for a 10-bit SAR) and all of the bits are decided in the same way as described above in FIG. 5 a for the MSB side of the array. This search and decision making method leads to the development of a fully thermometer coded capacitor array on both sides of the bridge capacitor as opposed to a binary weighted array.

Referring now to FIG. 5 b, there is illustrated a flow diagram more simply describing the process illustrated in FIG. 5 a for establishing the bits of the thermometer coded SAR. The process is initiated at step 552 and inquiry step 554 determines whether the thermometer coded SAR is presently within a sampling mode. If so, the process continues to monitor at inquiry step 554 until it is determined that the SAR is no longer within the sampling mode and is in a conversion mode. Once the SAR enters the conversion mode, the capacitors of a first bit to be tested are switched to V_(ref) at step 556. The remaining capacitors being tested are connected to ground. Inquiry step 558 determines from the output of the comparator whether the bit being tested should be set to logical “1” or logical “0”. If the bit is set to logical “1”, the capacitors of the next bit to be tested are switched to the reference voltage V_(ref) and the capacitors of the bit previously tested remain connected to the referenced voltage V_(ref). If the bit is set to logical “0”, control passes to step 560 wherein half of the capacitors of the previously tested bit that are presently connected to V_(ref) are switched to ground. The remaining capacitors remain connected to the reference voltage V_(ref). The capacitors of the next bit, whose logical value is actually being determined, remain at ground. Inquiry step 564 determines from the output of the comparator, if the logical value of the next bit should be set to logical “1” or logical “0”. If the bit is set to logical “1”, control passes to inquiry step 568 to determine if additional bits are available to be tested. If so, control passes back to step 562. If no further bits are available to be tested, the process is completed at step 570. If inquiry step 564 determines that the next bit being tested is set to logical “0”, control passes to step 566 to determine if additional bits are available to be tested. If so, control passes to step 560. If no further bits are available to be tested, the process is completed at step 570.

This full thermometer coding technique to decide all of the MSB and LSB bits has one major disadvantage. Each unit capacitor C requires 3 switches attached to it, one for the input signal V_(i), one for the reference voltage V_(ref) and one for ground. Thus, with every addition of a bit of the SAR, the total number of switches will increase by a factor of 1.5 will require an extensive layout. For example, a 10-bit SAR ADC implemented with full thermometer weighted caps would require a total of 62×3=186 switches. In order to reduce the switch circuitry and also the number of metal lines in a circuit layout, a 10-bit SAR ADC maybe implemented utilizing a combination of binary coded and thermometer coded capacitor arrays. An example of this is illustrated in FIG. 6.

In FIG. 6, the capacitors for bit-0 through bit-6 are sized in the binary weighted fashion. So, bit-0 to bit-6 require 7×3=21 total switches. However, for the three most significant bits, bit-7, 8 and 9, the capacitors are sized in the thermometer weighted fashion such that a total of 21 switches are needed for the three MSB bits. Thus, for the 10-bit capacitor array a total 42 switches are needed. During the sampling process, all of the capacitors are connected to the input voltage V_(in). At the end of the sampling phase, the SAR decision process begins with the MSB test first with all MSB caps (all 16 unit caps, 4 groups of caps, each group having 4 unit caps) connected to the reference voltage and all other caps connected to ground. The decision making process for the 3-MSBs (bit-9, bit-8 and bit-7) follow the same flow of the fully thermometer coded SAR ADC explained above. The rest of the bits are decided the same way, a binary weighted SAR ADC works. The decision process for the three most significant bits (bit-9, bit-8 and bit-7) is more fully described herein below in FIG. 7.

More particularly referring to FIG. 6, the capacitor arrays for the MSBs 602 and the LSBs 604 are each connected to the negative input of a comparator 606. The positive input of the comparator 606 is connected to ground or to a dc common-mode. The output of the comparator 606 provides the results of each test associated with one of the bits of the code forming the output of the split array DAC. The MSB (bit-9) bit, MSB-1 (bit 8) bit and MSB-2 (bit 7) bit include capacitor groups 608 connected to a common node 610. Each of the capacitor groups 608 are connected to three switches. A first switch 612 connects the capacitor to the input voltage V_(in). A second switch 614 connects the capacitor group 608 to a reference voltage V_(ref) and a third capacitor 616 connects the capacitor group 608 to ground. The remaining bits, bit-6 through bit-0 are configured with binary coded capacitors 618. The binary coded capacitors 618 for bit-6 and bit-5 have a first plate connected to the common node 610 and their other plates connected to the input voltage, reference voltage and ground through switches 612, 614 and 616, respectively. A bridge capacitor 620 interconnects common node 610 to common node 622. The least significant bits 604 are each formed of binary weighted capacitors 618 for bit-4 through bit-0. Each of the least significant bit capacitors have a first plate connected to common node 622, and a second plate connected to one of the input voltage, the reference voltage and ground via switches 612, 614 and 616, respectively.

Referring now to FIG. 7, there is illustrated the SAR bit decision process for the three most significant bits, bit-9, bit-8 and bit-7 utilizing a thermometer coding technique. This process is initiated at step 702 wherein a determination is made if the ADC is in the sampling mode or the convert mode. If the device is in the sampling mode, inquiry step 702 continues to monitor until the conversion mode is detected. Once the conversion mode is detected, a most significant bit test is performed on bit-9 at step 704. The capacitors of bit-9 are all switched to the reference voltage V_(ref), while the remaining capacitors in the SAR device are connected to ground. The output of the comparator 606 is monitored to determine if the MSB should be set to logic “0” or logic “1”. As described previously, the MSB is set to logic “0” if the state of the output of the comparator does not change states. If the state of the output of the comparator changes, the MSB is set to logic “1”.

If the MSB is set to logic “0”, control passes to step 708, wherein the MSB-1 test is performed by switching half of the capacitors of the MSB (bit-9) to ground and maintaining the remainder of the MSB capacitors at V_(ref). The output of the comparator 606 is monitored to determine whether the MSB-1 bit should be set to logical “0” or logical “1”. If it is determined that the MSB is set to logical “1”, step 712 performs the MSB-1 test by switching the capacitors of the MSB-1 bit (bit-8) from ground to V_(ref). Since the MSB was set to logical “1”, the capacitors of the MSB remain at V_(ref). The output of the comparator 606 is monitored to determine if the MSB-1 bit should be set to logical “1” or logical “0”.

If it is determined at either of inquiry nodes 710 or 714, that the MSB-1 bit is set to logical “1”, control passes to step 716, and the MSB-2 test is performed by switching the capacitors of the MSB-2 bit (bit-7) from ground to the reference voltage V_(ref). If the MSB-1 bit (bit-8) is set to logic “0” at node 710, step 718 performs the MSB-2 test by switching one-fourth of the capacitors of the MSB bit (bit-9) to ground. Thus, only one-fourth of the capacitors of the MSB remain at the reference voltage V_(ref). Finally, if the MSB-1 (bit-8) is set to 0 at node 714, the MSB-2 test is performed at step 720. For the this test, one-half of the capacitors of the MSB-1 bit (bit-8) are switched to ground and the remaining half of the capacitors stay connected to the reference voltage V_(ref). No matter which of the tests at step 718, step 716 or step 720 are performed, the output of the comparator 606 is monitored to determine the value of bit-7. Once a logical value has been assigned to bit 7, the remainder of bits 6 through bits 0 are assigned using the binary weighted coding technique as described previously herein.

An n-bit SAR analog to digital converter, requires only n-clock cycles to complete all n conversions. Each bit is tested with a control signal, having a time period equal to 1:00. Each test bit issues to a switch of a capacitor associated with the bit under test. In the partial binary partial thermometer coded SAR ADC implementation illustrated in FIG. 6, there are fourteen total capacitors to test. And only ten control cycles or control bits are available. Seven least significant control bits (bit-0 through bit-6) are used to decide the bits 0-6. The upper three MSB control bits are translated to generate 7 thermometer coded control bits to use for the seven thermometer weighted capacitors to decide the upper three MSB bits 9-7. Thus, this implementation first iterates the first SAR control signals, the lowest of them are used straight to test the lower SAR bits and the upper three SAR control signals are translated to generate seven thermometer control weighted signals for the seven thermometer weighted caps for the three most significant bits 9-7 Using the above-described system, the transient issues described hereinabove, would be significantly reduced as only a single switch is being operated with respect to each particular decision rather than two sets of switching events generating transients to the input of the comparators. Also better matching between the capacitors will be achieved as many a time part of the previously tested capacitors will be used to test the next bit.

Although the preferred embodiment has been described in detail, it should be understood that various changes, substitutions and alterations can be made therein without departing from the scope of the invention as defined by the appended claims. 

1. A method for coding successive approximation register analog to digital converter, comprising the steps of: (a) switching capacitors associated with a bit from ground to a reference voltage; (b) determining whether a logical value of the bit is a first value or a second value; (c) if the logical value is the first value, switching capacitors associated with a next bit from the ground to the reference voltage; and (d) if the logical value is the second value, switching one-half of the capacitors associated with the bit currently connected to the reference voltage to ground.
 2. The method of claim 1, further including the step of repeating steps (b)-(d) for each bit of the successive approximation register analog to digital converter.
 3. The method of claim 1, further including the step of determining if the successive approximation register analog to digital converter is in a sampling mode or a conversion mode.
 4. The method of claim 1, further including the steps of: repeating steps (b)-(d) for a first portion of the plurality of bits; and determining a value for a second portion of the plurality of bits using a binary coding technique.
 5. The method of claim 1, further including the steps of: repeating steps (b)-(d) for each most significant bit of the plurality of bits; and repeating steps (b)-(d) for each least significant bit of the plurality of bits.
 6. A method for coding a successive approximation register analog to digital converter, comprising the steps of: sampling an input voltage; determining bit values for a first portion of a plurality of bits representing an output of the successive approximation register analog to digital converter using a thermometer coding technique, wherein the step of determining the bit values for a first portion of the plurality of bits further comprises the steps of: (a) switching capacitors associated with a bit from ground to a reference voltage; (b) determining whether a logical value of the bit is a first value or a second value; (c) if the logical value is the first value, switching capacitors associated with a next bit from the ground to the reference voltage; and (d) if the logical value is the second value, switching one-half of the capacitors associated with the bit currently connected to the reference voltage to ground; and determining bit values for a second portion of the plurality of bits representing the output of the successive approximation register analog to digital converter using a binary coding technique.
 7. The method of claim 6, further including the step of repeating steps (b)-(d) for each bit of the first portion of the plurality of bits.
 8. The method of claim 6, further including the step of determining if the successive approximation register analog to digital converter is in a sampling mode or a conversion mode.
 9. A method for coding a successive approximation register analog to digital converter, comprising the steps of: sampling an input voltage; determining bit values for each most significant bit of a plurality of bits representing an output of the successive approximation register analog to digital converter using a thermometer coding technique; determining bit values for each least significant bit of the plurality of bits representing the output of the successive approximation register analog to digital converter using the thermometer coding technique; and wherein transient errors are reduced since only one single switch is operated with respect to each bit value decision rather than two sets of switches generating transient noise to comparator inputs.
 10. The method of claim 9, wherein the step of determining the bit values for each most significant bit of the plurality of bits further comprises the steps of: (a) switching capacitors associated with a bit from ground to a reference voltage; (b) determining whether a logical value of the bit is a first value or a second value; (c) if the logical value is the first value, switching capacitors associated with a next bit from the ground to the reference voltage; and (d) if the logical value is the second value, switching one-half of the capacitors associated with the bit currently connected to the reference voltage to ground.
 11. The method of claim 10, further including the step of repeating steps (b)-(d) for each bit of the most significant bits of the plurality of bits.
 12. The method of claim 9, wherein the step of determining the bit values for each least significant bit of the plurality of bits further comprises the steps of: (a) switching capacitors associated with a bit from ground to a reference voltage; (b) determining whether a logical value of the bit is a first value or a second value; (c) if the logical value is the first value, switching capacitors associated with a next bit from the ground to the reference voltage; and (d) if the logical value is the second value, switching one-half of the capacitors associated with the bit currently connected to the reference voltage to ground.
 13. The method of claim 12, further including the step of repeating steps (b)-(d) for each bit of the least significant bits of the plurality of bits.
 14. The method of claim 9, further including the step of determining if the successive approximation register analog to digital converter is in a sampling mode or a conversion mode.
 15. A successive approximation register analog to digital converter, comprising: a voltage comparator having first and second inputs and an output; a plurality of capacitors associated with a first group of bits connected to a first input of the voltage comparator, each of the capacitors having substantially a same value, a number of capacitors associated with each of the first group of bits doubling from a least significant bit of the first group of bits to a most significant bit of the first group of bit; and a controller configured to: (a) switch the capacitors associated with a bit from ground to a reference voltage; (b) determine whether a logical value of the bit is a first value or a second value; (c) if the logical value is the first value, switch capacitors associated with a next bit from the ground to the reference voltage; and (d) if the logical value is the second value, switch one-half of the capacitors associated with the bit currently connected to the reference voltage to ground.
 16. The successive approximation register analog to digital converter of claim 15, wherein the controller is further configured to repeat steps (b)-(d) for each bit of the successive approximation register analog to digital converter.
 17. The successive approximation register analog to digital converter of claim 15, wherein the controller is further configured to determine if the successive approximation register analog to digital converter is in a sampling mode or a conversion mode.
 18. The successive approximation register analog to digital converter of claim 15, wherein the controller is further configured to: repeat steps (b)-(d) for a first portion of the plurality of bits; and determine a value for a second portion of the plurality of bits using a binary coding technique.
 19. The successive approximation register analog to digital converter of claim 15, wherein the controller is further configured to: repeat steps (b)-(d) for each most significant bit of the plurality of bits; and repeat steps (b)-(d) for each least significant bit of the plurality of bits. 